package com.tracesystem.controller.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * 缺陷分类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddTypeForm {

    //缺陷分类的id
    private Integer typeCode;

    //缺陷分类的分类
    @Length(min = 1,max = 20)
    private String typeDesc;
    //缺陷分类的状态
    @Length(min = 1,max = 20)
    private String moduleState;//默认有效为0
}
